package com.qfjy.huzewang;

public class User implements Observer {

    private String name;

    @Override
    public void read(String information) {
        System.out.println(name + "的状态：" + information);
    }

    public User(String name) {
        this.name = name;
    }
}
